::the ampersand stops "echo off" from printing to the command line
@echo off

::Set the PREV variable to the current working directory
set PREV=%CD%

::Sets the current working directory to the one that the batch file is running from
cd %~p0

java -classpath ../lib/derby.jar;../lib/derbyclient.jar;../lib/derbytools.jar org.apache.derby.tools.ij createARTTestData.sql

::Set the current working directory back to the original
cd %PREV%